package com.yuchen.ishop.service;

import java.util.List;

/**
 * @author Jack Q
 */
public interface BaseService<T> {

    T insert(T t);

    int update(T t,boolean isIgnoreNull);
    
    T getById(Long id);

    int delete(Long id);
}
